Generative science